projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd8c4a
)
defaultvalue test: Skip GdkMonitor::geometry
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 2 May 2016 16:40:51 +0000
(12:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 2 May 2016 16:42:13 +0000
(12:42 -0400)
We never return NULL for ::geometry and ::workarea. Just skip
these properties.
testsuite/gtk/defaultvalue.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/defaultvalue.c
b/testsuite/gtk/defaultvalue.c
index 257d772e6afe8f1071635161e1c7ad7e07e5cfaf..dba458519fd8e6f90d291a852394cd2275544ac7 100644
(file)
--- a/
testsuite/gtk/defaultvalue.c
+++ b/
testsuite/gtk/defaultvalue.c
@@
-151,6
+151,11
@@
test_type (gconstpointer data)
(strcmp (pspec->name, "default-display") == 0))
continue;
+ if (g_type_is_a (type, GDK_TYPE_MONITOR) &&
+ (strcmp (pspec->name, "geometry") == 0 ||
+ strcmp (pspec->name, "workarea") == 0))
+ continue;
+
if (g_type_is_a (type, GTK_TYPE_ABOUT_DIALOG) &&
(strcmp (pspec->name, "program-name") == 0))
continue;